package day07;

import java.util.Scanner;

public class IFDemo {
    public static void main(String [] args){

        Scanner sc =new Scanner(System.in);
        System.out.println("请输入一个数字");
        int num = sc.nextInt();
        System.out.println("接受输入的数字："+num);

        System.out.println("请输入一个小数");
        double num1= sc.nextDouble();
        System.out.println("输入的小数是"+num1);


    }
}
